package com.ddwl.schema.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;

/**
 * (OrderAddr)返回前端对象
 *
 * @author makejava
 * @since 2020-06-02 14:51:53
 */
@Data
@ApiModel("")
public class OrderAddrVo {

    private String id;

    @ApiModelProperty("订单ID")
    private String orderId;
         
    @ApiModelProperty("收件人")
    private String receiver;
         
    @ApiModelProperty("手机号码")
    private String mobile;
         
    @ApiModelProperty("邮政编码")
    private String postCode;

    @ApiModelProperty("0未发货1已发货")
    private Integer type;

    @ApiModelProperty("地理信息ID")
    private String regionId;
         
    @ApiModelProperty("详情地址")
    private String address;
         
    @ApiModelProperty("物流公司名称")
    private String logisticsName;

    @ApiModelProperty("物流公司编码")
    private String logisticsCode;
         
    @ApiModelProperty("物流单号")
    private String logisticsNo;
         
    @ApiModelProperty("发货时间")
    private Instant deliveryTime;
         
    @ApiModelProperty("快递到达时间")
    private Instant arriveTime;

    @ApiModelProperty("付款时间")
    private Instant payTime;

    @ApiModelProperty("用户确认收货时间")
    private Instant confirmTime;
         
    @ApiModelProperty("创建时间")
    private Instant gmtCreated;
         
    @ApiModelProperty("修改时间")
    private Instant gmtModified;

    @ApiModelProperty("0快递1外送2自提")
    private Integer deliveryType;

    @ApiModelProperty("0商家已接单10备货中20备货完成30开始配送40商品送达50用户确认收货")
    private Integer deliveryStatus;

    @ApiModelProperty("取件码")
    private String deliveryCode;

    /**
     * openApi相关
     */
    @ApiModelProperty("订单状态")
    private Integer status;

    @ApiModelProperty("商品skuid")
    private String skuId;

    @ApiModelProperty("商品id")
    private String itemId;

    @ApiModelProperty("商品件数")
    private Integer itemCount;

    @ApiModelProperty("省")
    private String provinceName;

    @ApiModelProperty("区")
    private String districtName;

    @ApiModelProperty("市")
    private String cityName;

}